package com.example.my.meila.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by My on 2016/10/31.
 */
public class Global implements Serializable {

    private String msg;

    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        private int server_time;

        private SearchTipsBean search_tips;

        private ShoppingCartBean shopping_cart;


        private List<TabsBean> tabs;


        private List<ModulesBean> modules;

        public int getServer_time() {
            return server_time;
        }

        public void setServer_time(int server_time) {
            this.server_time = server_time;
        }

        public SearchTipsBean getSearch_tips() {
            return search_tips;
        }

        public void setSearch_tips(SearchTipsBean search_tips) {
            this.search_tips = search_tips;
        }

        public ShoppingCartBean getShopping_cart() {
            return shopping_cart;
        }

        public void setShopping_cart(ShoppingCartBean shopping_cart) {
            this.shopping_cart = shopping_cart;
        }

        public List<TabsBean> getTabs() {
            return tabs;
        }

        public void setTabs(List<TabsBean> tabs) {
            this.tabs = tabs;
        }

        public List<ModulesBean> getModules() {
            return modules;
        }

        public void setModules(List<ModulesBean> modules) {
            this.modules = modules;
        }

        public static class SearchTipsBean {
            private String text;


            private List<HlBean> hl;

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public List<HlBean> getHl() {
                return hl;
            }

            public void setHl(List<HlBean> hl) {
                this.hl = hl;
            }

            public static class HlBean {
                private String color;
                private List<Integer> position;

                public String getColor() {
                    return color;
                }

                public void setColor(String color) {
                    this.color = color;
                }

                public List<Integer> getPosition() {
                    return position;
                }

                public void setPosition(List<Integer> position) {
                    this.position = position;
                }
            }
        }

        public static class ShoppingCartBean implements Serializable{
            private String jump_label;
            private String jump_data;

            public String getJump_label() {
                return jump_label;
            }

            public void setJump_label(String jump_label) {
                this.jump_label = jump_label;
            }

            public String getJump_data() {
                return jump_data;
            }

            public void setJump_data(String jump_data) {
                this.jump_data = jump_data;
            }
        }

        public static class TabsBean implements Serializable{
            private String name;
            private boolean selected;
            private int id;
            private String jump_label;
            private String tag;
            private String jump_data;
            private String slug;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public boolean isSelected() {
                return selected;
            }

            public void setSelected(boolean selected) {
                this.selected = selected;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getJump_label() {
                return jump_label;
            }

            public void setJump_label(String jump_label) {
                this.jump_label = jump_label;
            }

            public String getTag() {
                return tag;
            }

            public void setTag(String tag) {
                this.tag = tag;
            }

            public String getJump_data() {
                return jump_data;
            }

            public void setJump_data(String jump_data) {
                this.jump_data = jump_data;
            }

            public String getSlug() {
                return slug;
            }

            public void setSlug(String slug) {
                this.slug = slug;
            }
        }

        public static class ModulesBean implements Serializable{
            private String title;
            private String intro;
            private String template;
            private String slug;
            private String icon;

            private List<ProductsBean> products;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getIntro() {
                return intro;
            }

            public void setIntro(String intro) {
                this.intro = intro;
            }

            public String getTemplate() {
                return template;
            }

            public void setTemplate(String template) {
                this.template = template;
            }

            public String getSlug() {
                return slug;
            }

            public void setSlug(String slug) {
                this.slug = slug;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public List<ProductsBean> getProducts() {
                return products;
            }

            public void setProducts(List<ProductsBean> products) {
                this.products = products;
            }

            public static class ProductsBean {
                private int left_count;
                private String sub_name;
                private String name;
                private int onsale_status;
                private double price;
                private double org_price;
                private Object bg_img;
                private String jump_label;
                private String tag;
                private String objid;
                private String jump_data;
                private String purchase_source;
                private String slug;
                private List<String> text_tags;
                private List<?> words;

                private List<ImgsBean> imgs;

                public int getLeft_count() {
                    return left_count;
                }

                public void setLeft_count(int left_count) {
                    this.left_count = left_count;
                }

                public String getSub_name() {
                    return sub_name;
                }

                public void setSub_name(String sub_name) {
                    this.sub_name = sub_name;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getOnsale_status() {
                    return onsale_status;
                }

                public void setOnsale_status(int onsale_status) {
                    this.onsale_status = onsale_status;
                }

                public double getPrice() {
                    return price;
                }

                public void setPrice(double price) {
                    this.price = price;
                }

                public double getOrg_price() {
                    return org_price;
                }

                public void setOrg_price(double org_price) {
                    this.org_price = org_price;
                }

                public Object getBg_img() {
                    return bg_img;
                }

                public void setBg_img(Object bg_img) {
                    this.bg_img = bg_img;
                }

                public String getJump_label() {
                    return jump_label;
                }

                public void setJump_label(String jump_label) {
                    this.jump_label = jump_label;
                }

                public String getTag() {
                    return tag;
                }

                public void setTag(String tag) {
                    this.tag = tag;
                }

                public String getObjid() {
                    return objid;
                }

                public void setObjid(String objid) {
                    this.objid = objid;
                }

                public String getJump_data() {
                    return jump_data;
                }

                public void setJump_data(String jump_data) {
                    this.jump_data = jump_data;
                }

                public String getPurchase_source() {
                    return purchase_source;
                }

                public void setPurchase_source(String purchase_source) {
                    this.purchase_source = purchase_source;
                }

                public String getSlug() {
                    return slug;
                }

                public void setSlug(String slug) {
                    this.slug = slug;
                }

                public List<String> getText_tags() {
                    return text_tags;
                }

                public void setText_tags(List<String> text_tags) {
                    this.text_tags = text_tags;
                }

                public List<?> getWords() {
                    return words;
                }

                public void setWords(List<?> words) {
                    this.words = words;
                }

                public List<ImgsBean> getImgs() {
                    return imgs;
                }

                public void setImgs(List<ImgsBean> imgs) {
                    this.imgs = imgs;
                }

                public static class ImgsBean {
                    private String img;
                    private int img4_width;
                    private int img_width;
                    private int img4_height;
                    private int img_height;
                    private String img4;

                    public String getImg() {
                        return img;
                    }

                    public void setImg(String img) {
                        this.img = img;
                    }

                    public int getImg4_width() {
                        return img4_width;
                    }

                    public void setImg4_width(int img4_width) {
                        this.img4_width = img4_width;
                    }

                    public int getImg_width() {
                        return img_width;
                    }

                    public void setImg_width(int img_width) {
                        this.img_width = img_width;
                    }

                    public int getImg4_height() {
                        return img4_height;
                    }

                    public void setImg4_height(int img4_height) {
                        this.img4_height = img4_height;
                    }

                    public int getImg_height() {
                        return img_height;
                    }

                    public void setImg_height(int img_height) {
                        this.img_height = img_height;
                    }

                    public String getImg4() {
                        return img4;
                    }

                    public void setImg4(String img4) {
                        this.img4 = img4;
                    }
                }
            }
        }
    }
}
